<!DOCTYPE html>
<html lang="zh">
<head>
    <link rel="shortcut icon" href="../../assets/images/favicon.png">
    <meta charset="UTF-8">
    <title>Windows active</title>
</head>
<body>
<center><h1>Windows激活（基于MAS）</h1></center><hr>
<a href="#solution1">方案1</a><br><a href="#solution2">方案2</a><br><a href="#gw">官网</a><br><a href="#question">问题</a>
<div id="solution1">
    <h2>方案1:</h2>
    <h3>1.先<a href="#download_div">下载</a>激活文件</h3>
    <h3>2.右键单击点属性</h3>
    <img src="shuxing.png" width="600" height="400">
    <h3>3.右键单击点运行即可</h3>
    <img src="termin.png" width="700" height="500">
</div>
<br>
<hr>
<br>
<div id="solution2">
    <h2>方案2:</h2>
    <h3>打开powershell<strong>（注意不是cmd）</strong></h3>
    <h3>输入：</h3>
    <code type="shell">
        irm https://www.cici.one/massetup.ps1 | iex
    </code>
</div>
<hr>
<div id="question">
    <h2>常见问题:</h2>
    <div>
	    1.出现如下报错：<br>
    <code>
	    --------------------------------------------<br>
	    ==== ERROR ====<br>
	    You are running outdated version MAS xxx.xxx<br>
	    --------------------------------------------<br>
	    [1] Get Lastest MAS<br>
	    [0] Continue Anyway<br>
    </code><br>
    直接选0
</div>
<hr>
<div id="gw">
    <h2>官网：</h2>
    <a href="https://massgrave.dev">MAS</a><br>
    <a href="https://get.activated.win">原版激活启动脚本</a><br>
    <a href="https://github.com/massgravel/Microsoft-Activation-Scripts.git">激活脚本仓库（github）</a><br>
    <a href="https://gitee.com/sxt2204/Microsoft-Activation-Scripts-repo">激活脚本仓库（gitee同步）</a>
</div>
<hr>
<div id="download_div">
    <h2>下载激活文件</h2>
    <button onclick="downloadFile()">下载文件</button>
</div>
<script>
    function downloadFile() {
        var url = 'https://www.cici.one/massetup.ps1';
        var a = document.createElement("a");
        a.href = url;
        a.download = "get.ps1";
        document.body.appendChild(a);
        a.click();
        document.body.removeChild(a);
    }
</script>

</body>
</html>
